Skip to content

ci(release): attach Linux installers to an existing release - #301

Merged
egdev6 merged 5 commits into
mainfrom
ci/linux-release-attach
Nov 20, 2026
Merged

egdev6 merged 5 commits into
mainfrom
ci/linux-release-attach

Conversation

@egdev6

@egdev6 egdev6 commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Related issue / Issue relacionada

Issue: N/A (release infrastructure, maintainer decision). Spec: odd/tasks/linux-release-attach.md (S1–S6).

Scope / Alcance

Manual workflow Linux release attach (.github/workflows/linux-release.yml) that builds the Linux .deb and .AppImage from an existing release's exact source_sha and attaches them to that release, so v0.9.0 gets an official Linux installer without a new version. Same pattern as the macOS release.

  • workflow_dispatch only, from main; inputs version and source_sha, passed to shell only through env.
  • Preflight (scripts/linux-release-preflight.mjs): stable SemVer, 40-hex SHA ancestor of origin/main, manifests at that SHA declare the version, release v<version> exists and its tag points at source_sha, none of the target asset names exist yet.
  • Build on ubuntu-22.04 from exactly source_sha with the same system deps as linux-ci.yml, FUSE launch check, and the .testcontainer clean-container verification; SHA-256 fingerprints passed to the attach job.
  • Attach (scripts/linux-release-attach.mjs, only job with contents: write): re-runs preflight, checks the artifact digests, uploads exactly Quorb_<v>_amd64.deb, Quorb_<v>_amd64.AppImage and one .sha256 each; never overwrites; on partial failure deletes only this run's uploads.
  • Never creates or moves tags, never edits the release body, never touches latest.json (Linux updates stay manual).
  • Docs: docs/release-linux.md.

Commits are split as review slices: preflight (c04641a), attach (5bac5ea), workflow + docs (5bd5fdc), ODD log (2456da6).

Acceptance and validation / Aceptación y validación

Check Result
Focused node --test scripts/linux-release-*.test.mjs ✅ 21/21
npm test ✅ exit 0 (Vitest 1241, node 329)
actionlint v1.7.7 on linux-release.yml and macos-release.yml ✅ exit 0
Independent verification (Risk: item 5) S3–S6 pass; one blocker found (runner.temp in job-level env:), fixed with a regression test
Preflight probe with real v0.9.0 data (read-only git, fake API) ✅ accepts 0.9.0 + eecde58; refuses non-main ref, bad version/SHA, wrong tag, existing asset

Remaining blockers / Bloqueos pendientes

  • Do not run it yet: confirm that Linux credentials persist across a reboot (keyring linux-native = keyutils). If they do not, it is an app fix and a 0.9.1, not an attachment to 0.9.0.
  • After running it: update the v0.9.0 notes and add the Linux row to the README.
  • Not verified until the first real run: the full build on GitHub and the upload against the live release.

@egdev6
egdev6 merged commit a3f74fe into main Nov 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant